﻿using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using Prism.Commands;
using Prism.Events;
using Prism.Regions;
using Prism.Services.Dialogs;
using SmartPlant.Core;
using SmartPlant.Core.Mvvm;
using SmartPlant.Model;
using SmartPlant.Model.DbContext.Biz;
using SmartPlant.Services;
using SmartPlant.Services.Interfaces;
using SmartPlant.WinCore;
using SmartPlant.WinCore.Config;
using SmartPlant.WinCore.Helper;
using System.Collections;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Windows;
using System.Windows.Input;
using Telerik.Windows.Controls;
using Telerik.Windows.Data;
using Unity;
using DialogParameters = Prism.Services.Dialogs.DialogParameters;

namespace SmartPlant.Modules.Base.ViewModels
{
    public class IndexTablePDViewModel
    {
        private bool _localLoad = false;//是否从本地加载文件。 
        //private DelegateCommand<object> _localFileChangedCommand;
        //private DelegateCommand<object> _localFileSaveCommand;
        //private DelegateCommand<object> _localFileDelCommand;
        private DelegateCommand<object> _serverDataSaveCommand;
        private DelegateCommand<object> _columnSelectCommand;
        private DelegateCommand<object> _columnOrderChanged;
        private DelegateCommand<object> _saveCurView;
        private DelegateCommand<object> _SaveAsExcelCommand;

        private readonly IEventAggregator _eventAggregator;
        private ObservableCollection<FileDataInfo> _localFileList;
        private FileDataInfo _selectFile;
        /// <summary>
        /// 选中的pbs
        /// </summary>
        private List<ITreeNodeModel> _currentNodes = null;

        public IndexTablePDViewModel(
            IEventAggregator eventAggregator,
            IRegionManager regionManager,
            IUnityContainer unityContainer,
            IDynamicDataApi dynamicDataApi,
            IDialogService dialogService)

        {

        }

    }
}
